﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using ClassLibraryNetCom;
using ClassLibraryMessageDispacher;
using System.Threading;
namespace GUI
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Mutex mt = new Mutex(false, "ProcessName");
            if (!mt.WaitOne(5))
            {
                MessageBox.Show("程序已经运行！");          
                return;
            }
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);        
            Application.Run(new DevWork());
        }
    }
}
